package com.web.controller;

import com.common.model.infect.User;
import com.infect.service.UserService;
import com.infect.service.imp.UserServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Configuration;
import tk.mybatis.spring.annotation.MapperScan;

@MapperScan("com.infect.mapper")
@Configuration
public class Test {

        @Autowired
        UserServiceImpl userService;
        @org.junit.Test
        public void test(){
                User user = userService.select(201L);
                System.out.println(user.getId());
        }
}
